package com.heima.apis.admin;

import com.heima.model.admin.dtos.AdUserDto;
import com.heima.model.admin.pojos.AdUser;
import com.heima.model.common.dtos.ResponseResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestBody;

public interface LoginControllerApi {
    @ApiOperation("登录接口")
    public ResponseResult login(@RequestBody AdUserDto dto);
    @ApiOperation("注册接口")
    public ResponseResult register(@RequestBody AdUser aduser);
}
